package core.hxl.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface MessageStreams {
    String INPUT = "demo_input";
    String OUPUT = "demo_output";

    @Input(INPUT)
    SubscribableChannel receiveMessage();

    @Output(OUPUT)
    MessageChannel sendMessage();
}
